﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using WinnerCMS.BLL;
using WinnerCMS.WebFactory.Mvc;

namespace WinnerCMS.WebUI.Controllers
{
    [TemplateRelevant]
    public class CategoryController : Controller
    {
        // GET: Category
        public ActionResult Index(int categoryId, int? pageNo)
        {
            var info = CategoryManage.GetInfo(categoryId);
            return View(info.TemplateFileName, info);
        }
    }
}